/*
 * Copyright (c) 2017 Solidwang. All Rights Reserved
 */
package com.solid4j.auth.dao;

import java.io.Serializable;
import java.util.List;

/**
 * @author: solidwang
 * @date: 17/4/17
 */
public interface BaseDao<T> {

    Integer save(T t);

    void update(T model);

    void delete(T model);

    T get(Class<T> clazz, Serializable id);

    List<T> getList(String hql);
}
